package com.hlkj.pay.app.transfer;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.util.List;

import com.hlkj.pay.dto.merchant.MerchantAccessInfoPageDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.hlkj.pay.vo.merchant.resp.access.MerchantAccessInfoListResp;
/**
 * @author HlpayTeam
 * @date 2024/09/26 8:59
 */
@Mapper
public interface MerchantAccessDoToResp {
	
	MerchantAccessDoToResp INSTANCE = Mappers.getMapper(MerchantAccessDoToResp.class);
	
	/**
	 * list转换
	 *
	 * @param merchantAccessInfoPageDtoList
	 * @return
	 */
	List<MerchantAccessInfoListResp> doToRespList(List<MerchantAccessInfoPageDto> merchantAccessInfoPageDtoList);
	/**
	 * list转换
	 *
	 * @param merchantAccessInfoPageDto
	 * @return
	 */
	MerchantAccessInfoListResp doToResp(MerchantAccessInfoPageDto merchantAccessInfoPageDto);
}
